const gsstatus = {
  // 会议子系统
  meeting: {
    // 会议
    meeting: {
      status: {
        ALL: { label: '全部', value: -1 },
        NOSTART: { label: '未开始', value: 0 },
        ON: { label: '进行中', value: 1 },
        OVER: { label: '已结束', value: 2 },
        CANCEL: { label: '已取消', value: 3 }
      }
    },
    // 会议室
    room: {
      status: {
        ALL: { label: '全部', value: -1 },
        FREE: { label: '空闲', value: 1 },
        USED: { label: '占用', value: 2 }
      }
    }
  },
  // 派车子系统
  dispatch: {
    plan: {
      // 派车状态
      status: {
        WAITAUDIT: { label: '待审核', value: 1 },
        WAITDISPATCH: { label: '待派车', value: 2 },
        DISPATCHED: { label: '已派车', value: 3 },
        NOPASS: { label: '已驳回', value: 4 },
        CANCEL: { label: '已取消', value: 5 }
      }
    },
    dispatch: {
      // 派车状态
      status: {
        DISPATCH: { label: '已派车', value: 1 },
        OUT: { label: '已外出', value: 2 },
        RETURN: { label: '已归队', value: 3 },
        TIMEOUT: { label: '超时未归队', value: 4 },
        CANCEL: { label: '已取消', value: 5 }
      },
      // 派车审核状态
      audit: {
        WAIT: { label: '未审核', value: 0 },
        PASSED: { label: '已通过', value: 1 },
        NOPASS: { label: '未通过', value: 2 }
      }
    },
    // 车辆状态
    vehicle: {
      status: {
        WAIT: { label: '待命', value: 1 },
        OUT: { label: '外出', value: 2 },
        DISPATCH: { label: '已派车', value: 3 },
        TIMEOUT: { label: '超时未归队', value: 4 },
        SEALED: { label: '已封存', value: 5 },
        MAINTAIN: { label: '维修中', value: 6 }
      }
    },
    // 驾驶员状态
    driver: {
      status: {
        DISPATCHING: { label: '派车中', value: 2 },
        ONLINE: { label: '在位', value: 1 },
        NOONLINE: { label: '不在位', value: 3 }
      }
    }
  },
  // 系统级别
  sys: {
    sex: {
      MAN: { label: '女', value: 0 },
      WOMAN: { label: '男', value: 1 }
    }
  }

}

const gs = {
  gsstatus,
  getGS: function() {
    return JSON.parse(JSON.stringify(this.gsstatus))
  }
}

export default gs
